

from django.urls import path
from .views import CWEListAPIView
from . import views


urlpatterns = [
    path('filter/',views.Vulndbfilter.as_view()),
    path('database/', views.Vulndbdata),
    path('cwe/', CWEListAPIView.as_view(), name='cwe-list'),
    path('all-vulndb',views.getallVulndbdata),
    path('all-vulndb/filter',views.getallVulndbdata_filter),
    path('<str:pk>/',views.getvulndb),
    path('add-vulndb',views.add_vulndb),
    path('edit-vulndb/<str:pk>/',views.edit_vulndb),
    path('delete-vulndb',views.delete_vulndb),

]
